package org.dromara.hotel.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.hotel.domain.TerHotels;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
/**
 * 酒店信息维护业务对象 ter_hotels
 *
 * @author xch
 * @date 2025-05-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = TerHotels.class, reverseConvertGenerate = false)
public class TerHotelsBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 酒店名称
     */
    @NotBlank(message = "酒店名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hotelName;

    /**
     * 酒店地址
     */
    @NotBlank(message = "酒店地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String hotelAddress;

    /**
     * 描述
     */
    private String description;

    /**
     * 酒店状态
     */
    private Long hotelStatus;

    /**
     *
     */
    private String hotelImg;
    private String labelStr;
    private String city;
    private String latitude;
    private String longitude;

    private String hotelType;

    private String phone;
}
